import request from '@/utils/request'
import { ResultVoid, DeepRequired, ChangePwdDto } from '../../interface'

/**
 * 原密码修改密码
 * /user/pwd/ByOld
 */
export function putUserPwdByOld(input: ChangePwdDto) {
  return request.put<DeepRequired<ResultVoid>>(`/user/pwd/ByOld`, input)
}
